package com.hzit.service;

import com.hzit.entity.PageResult;
import com.hzit.entity.Student;
import com.hzit.entity.StudentVo;

import java.io.IOException;
import java.util.List;

public interface StudentService {
	List<Student> findAll() throws IOException;

	PageResult<Student> findByPage(int page, int pageSize) throws IOException;

	PageResult<Student> search(int page, int pageSize, StudentVo studentVo) throws IOException;

	void add(Student student) throws IOException;

	void update(Student student) throws IOException;

	void delete(String sid) throws IOException;
}
